﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace DataBaseManagement
{
    public partial class RelatorioNotasAlunosForm : Form
    {
        public RelatorioNotasAlunosForm()
        {
            InitializeComponent();
        }

        private void RelatorioNotasAlunosForm_Load(object sender, EventArgs e)
        {
            this.rvrNotas.RefreshReport();
            rvrNotas_ReportRefresh(sender, null);
        }

        private void rvrNotas_ReportRefresh(object sender, CancelEventArgs e)
        {
            AlunosBindingSource.DataSource = UsuariosNG.ObterAlunos();
        }
    }
}
